package com.greenet.companytemplate.manager.dao;

import com.greenet.companytemplate.common.persistence.CrudDao;
import com.greenet.companytemplate.common.persistence.annotation.MyBatisDao;
import com.greenet.companytemplate.manager.entity.FileBean;

import java.util.List;

/**
 * Created by Administrator on 2016/5/4.
 */
@MyBatisDao
public interface FileDao extends CrudDao<FileBean> {
    /**
     * 获得最近更新的文件，默认是一周
     * @param fileBean
     * @return
     */
    public List<FileBean> getRecently(FileBean fileBean);
}
